<!DOCTYPE html> 
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title><?php echo $View->showTitle(); ?></title>
    <link rel="icon"  type="image/png" href="<?php echo $Router->getWebroot(); ?>img/favicon.png">
    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0-alpha.1/jquery.mobile-1.2.0-alpha.1.min.css" />
    <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
    <script language=javascript>
    $(document).bind("mobileinit", function () {
    	$.mobile.ajaxEnabled = false;
    });
    $(function() {
		$('a').each(function() {
			$(this).attr('data-ajax', 'false');
		});
    });
	</script>
    <script src="http://code.jquery.com/mobile/1.2.0-alpha.1/jquery.mobile-1.2.0-alpha.1.min.js"></script>
</head>
<body>
    <div data-role="page">
        <div data-role="header">
            <h1><?php echo $View->showTitle(); ?></h1>
            <?php
			echo $View->Html()->link(
				$View->Html()->img(
					'http://cdn4.iconfinder.com/data/icons/devine_icons/128/PNG/System%20and%20Internet/Control%20Panel.png',
					['width' => '16', 'height' => '16']
				),
				'puf_admin/' . ((new PUF\Route(null, 'settings', 'home'))->getUrl()),
				['class' => 'ui-btn-right', 'data-theme' => 'b', 'title' => 'Configuración']
			);
			?>
        </div>

        <div data-role="content">
        	<?php $View->show(); ?>
        </div>
        
    </div>
</body>
</html>